import { request } from '@/utils/request.ts'

// 获取角色列表
export const getRoleListApi = (data:any) => request('/order/sysRole/list', 'get',data)

// 获取角色菜单
export const getRoleMenuApi = (id:any) => request('/order/sysRole/getMenuList', 'get',{id})

// 获取角色资源
export const getRoleSourceApi = (id:any) => request('/order/sysRole/getSourceList', 'get',{id})
